﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ReportData" targetNamespace="http://tempuri.org/ReportData.xsd" xmlns:mstns="http://tempuri.org/ReportData.xsd" xmlns="http://tempuri.org/ReportData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="Default" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Default (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.Default.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_Report_ProductDetailTableAdapter" GeneratorDataComponentClassName="sp_Report_ProductDetailTableAdapter" Name="sp_Report_ProductDetail" UserDataComponentName="sp_Report_ProductDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Default (Web.config)" DbObjectName="Sovigaz.dbo.sp_Report_ProductDetail" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sp_Report_ProductDetail</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
              <Mapping SourceColumn="LotID" DataSetColumn="LotID" />
              <Mapping SourceColumn="CategoryID" DataSetColumn="CategoryID" />
              <Mapping SourceColumn="OwnerID" DataSetColumn="OwnerID" />
              <Mapping SourceColumn="PartnerID" DataSetColumn="PartnerID" />
              <Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
              <Mapping SourceColumn="ProductCode" DataSetColumn="ProductCode" />
              <Mapping SourceColumn="Manufacture" DataSetColumn="Manufacture" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
              <Mapping SourceColumn="ManufacturedDate" DataSetColumn="ManufacturedDate" />
              <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
              <Mapping SourceColumn="Volume" DataSetColumn="Volume" />
              <Mapping SourceColumn="Size" DataSetColumn="Size" />
              <Mapping SourceColumn="PressureLoad" DataSetColumn="PressureLoad" />
              <Mapping SourceColumn="PressureTest" DataSetColumn="PressureTest" />
              <Mapping SourceColumn="Capacity" DataSetColumn="Capacity" />
              <Mapping SourceColumn="BoughtDate" DataSetColumn="BoughtDate" />
              <Mapping SourceColumn="CheckedDate" DataSetColumn="CheckedDate" />
              <Mapping SourceColumn="ChatXop" DataSetColumn="ChatXop" />
              <Mapping SourceColumn="Certify" DataSetColumn="Certify" />
              <Mapping SourceColumn="AssignedToEnterprise" DataSetColumn="AssignedToEnterprise" />
              <Mapping SourceColumn="AssignedDate" DataSetColumn="AssignedDate" />
              <Mapping SourceColumn="Expired" DataSetColumn="Expired" />
              <Mapping SourceColumn="IsEmpty" DataSetColumn="IsEmpty" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="CreatedBy" DataSetColumn="CreatedBy" />
              <Mapping SourceColumn="CreatedDate" DataSetColumn="CreatedDate" />
              <Mapping SourceColumn="UpdatedBy" DataSetColumn="UpdatedBy" />
              <Mapping SourceColumn="UpdatedDate" DataSetColumn="UpdatedDate" />
              <Mapping SourceColumn="IsDeleted" DataSetColumn="IsDeleted" />
              <Mapping SourceColumn="IsActived" DataSetColumn="IsActived" />
              <Mapping SourceColumn="Tstamp" DataSetColumn="Tstamp" />
              <Mapping SourceColumn="LotCode" DataSetColumn="LotCode" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ReportData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="ReportData" msprop:Generator_UserDSName="ReportData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sp_Report_ProductDetail" msprop:Generator_TableClassName="sp_Report_ProductDetailDataTable" msprop:Generator_TableVarName="tablesp_Report_ProductDetail" msprop:Generator_TablePropName="sp_Report_ProductDetail" msprop:Generator_RowDeletingName="sp_Report_ProductDetailRowDeleting" msprop:Generator_RowChangingName="sp_Report_ProductDetailRowChanging" msprop:Generator_RowEvHandlerName="sp_Report_ProductDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="sp_Report_ProductDetailRowDeleted" msprop:Generator_UserTableName="sp_Report_ProductDetail" msprop:Generator_RowChangedName="sp_Report_ProductDetailRowChanged" msprop:Generator_RowEvArgName="sp_Report_ProductDetailRowChangeEvent" msprop:Generator_RowClassName="sp_Report_ProductDetailRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
              <xs:element name="LotID" msprop:Generator_ColumnVarNameInTable="columnLotID" msprop:Generator_ColumnPropNameInRow="LotID" msprop:Generator_ColumnPropNameInTable="LotIDColumn" msprop:Generator_UserColumnName="LotID" type="xs:int" minOccurs="0" />
              <xs:element name="CategoryID" msprop:Generator_ColumnVarNameInTable="columnCategoryID" msprop:Generator_ColumnPropNameInRow="CategoryID" msprop:Generator_ColumnPropNameInTable="CategoryIDColumn" msprop:Generator_UserColumnName="CategoryID" type="xs:int" />
              <xs:element name="OwnerID" msprop:Generator_ColumnVarNameInTable="columnOwnerID" msprop:Generator_ColumnPropNameInRow="OwnerID" msprop:Generator_ColumnPropNameInTable="OwnerIDColumn" msprop:Generator_UserColumnName="OwnerID" type="xs:int" />
              <xs:element name="PartnerID" msprop:Generator_ColumnVarNameInTable="columnPartnerID" msprop:Generator_ColumnPropNameInRow="PartnerID" msprop:Generator_ColumnPropNameInTable="PartnerIDColumn" msprop:Generator_UserColumnName="PartnerID" type="xs:int" />
              <xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProductCode" msprop:Generator_ColumnVarNameInTable="columnProductCode" msprop:Generator_ColumnPropNameInRow="ProductCode" msprop:Generator_ColumnPropNameInTable="ProductCodeColumn" msprop:Generator_UserColumnName="ProductCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Manufacture" msprop:Generator_ColumnVarNameInTable="columnManufacture" msprop:Generator_ColumnPropNameInRow="Manufacture" msprop:Generator_ColumnPropNameInTable="ManufactureColumn" msprop:Generator_UserColumnName="Manufacture" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" msprop:Generator_UserColumnName="Symbol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ManufacturedDate" msprop:Generator_ColumnVarNameInTable="columnManufacturedDate" msprop:Generator_ColumnPropNameInRow="ManufacturedDate" msprop:Generator_ColumnPropNameInTable="ManufacturedDateColumn" msprop:Generator_UserColumnName="ManufacturedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Weight" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" msprop:Generator_UserColumnName="Weight" type="xs:decimal" minOccurs="0" />
              <xs:element name="Volume" msprop:Generator_ColumnVarNameInTable="columnVolume" msprop:Generator_ColumnPropNameInRow="Volume" msprop:Generator_ColumnPropNameInTable="VolumeColumn" msprop:Generator_UserColumnName="Volume" type="xs:decimal" minOccurs="0" />
              <xs:element name="Size" msprop:Generator_ColumnVarNameInTable="columnSize" msprop:Generator_ColumnPropNameInRow="Size" msprop:Generator_ColumnPropNameInTable="SizeColumn" msprop:Generator_UserColumnName="Size">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PressureLoad" msprop:Generator_ColumnVarNameInTable="columnPressureLoad" msprop:Generator_ColumnPropNameInRow="PressureLoad" msprop:Generator_ColumnPropNameInTable="PressureLoadColumn" msprop:Generator_UserColumnName="PressureLoad" type="xs:decimal" minOccurs="0" />
              <xs:element name="PressureTest" msprop:Generator_ColumnVarNameInTable="columnPressureTest" msprop:Generator_ColumnPropNameInRow="PressureTest" msprop:Generator_ColumnPropNameInTable="PressureTestColumn" msprop:Generator_UserColumnName="PressureTest" type="xs:decimal" minOccurs="0" />
              <xs:element name="Capacity" msprop:Generator_ColumnVarNameInTable="columnCapacity" msprop:Generator_ColumnPropNameInRow="Capacity" msprop:Generator_ColumnPropNameInTable="CapacityColumn" msprop:Generator_UserColumnName="Capacity" type="xs:decimal" minOccurs="0" />
              <xs:element name="BoughtDate" msprop:Generator_ColumnVarNameInTable="columnBoughtDate" msprop:Generator_ColumnPropNameInRow="BoughtDate" msprop:Generator_ColumnPropNameInTable="BoughtDateColumn" msprop:Generator_UserColumnName="BoughtDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="CheckedDate" msprop:Generator_ColumnVarNameInTable="columnCheckedDate" msprop:Generator_ColumnPropNameInRow="CheckedDate" msprop:Generator_ColumnPropNameInTable="CheckedDateColumn" msprop:Generator_UserColumnName="CheckedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ChatXop" msprop:Generator_ColumnVarNameInTable="columnChatXop" msprop:Generator_ColumnPropNameInRow="ChatXop" msprop:Generator_ColumnPropNameInTable="ChatXopColumn" msprop:Generator_UserColumnName="ChatXop" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Certify" msprop:Generator_ColumnVarNameInTable="columnCertify" msprop:Generator_ColumnPropNameInRow="Certify" msprop:Generator_ColumnPropNameInTable="CertifyColumn" msprop:Generator_UserColumnName="Certify" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AssignedToEnterprise" msprop:Generator_ColumnVarNameInTable="columnAssignedToEnterprise" msprop:Generator_ColumnPropNameInRow="AssignedToEnterprise" msprop:Generator_ColumnPropNameInTable="AssignedToEnterpriseColumn" msprop:Generator_UserColumnName="AssignedToEnterprise" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AssignedDate" msprop:Generator_ColumnVarNameInTable="columnAssignedDate" msprop:Generator_ColumnPropNameInRow="AssignedDate" msprop:Generator_ColumnPropNameInTable="AssignedDateColumn" msprop:Generator_UserColumnName="AssignedDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Expired" msprop:Generator_ColumnVarNameInTable="columnExpired" msprop:Generator_ColumnPropNameInRow="Expired" msprop:Generator_ColumnPropNameInTable="ExpiredColumn" msprop:Generator_UserColumnName="Expired" type="xs:dateTime" minOccurs="0" />
              <xs:element name="IsEmpty" msprop:Generator_ColumnVarNameInTable="columnIsEmpty" msprop:Generator_ColumnPropNameInRow="IsEmpty" msprop:Generator_ColumnPropNameInTable="IsEmptyColumn" msprop:Generator_UserColumnName="IsEmpty" type="xs:boolean" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreatedBy" msprop:Generator_ColumnVarNameInTable="columnCreatedBy" msprop:Generator_ColumnPropNameInRow="CreatedBy" msprop:Generator_ColumnPropNameInTable="CreatedByColumn" msprop:Generator_UserColumnName="CreatedBy" type="xs:int" />
              <xs:element name="CreatedDate" msprop:Generator_ColumnVarNameInTable="columnCreatedDate" msprop:Generator_ColumnPropNameInRow="CreatedDate" msprop:Generator_ColumnPropNameInTable="CreatedDateColumn" msprop:Generator_UserColumnName="CreatedDate" type="xs:dateTime" />
              <xs:element name="UpdatedBy" msprop:Generator_ColumnVarNameInTable="columnUpdatedBy" msprop:Generator_ColumnPropNameInRow="UpdatedBy" msprop:Generator_ColumnPropNameInTable="UpdatedByColumn" msprop:Generator_UserColumnName="UpdatedBy" type="xs:int" />
              <xs:element name="UpdatedDate" msprop:Generator_ColumnVarNameInTable="columnUpdatedDate" msprop:Generator_ColumnPropNameInRow="UpdatedDate" msprop:Generator_ColumnPropNameInTable="UpdatedDateColumn" msprop:Generator_UserColumnName="UpdatedDate" type="xs:dateTime" />
              <xs:element name="IsDeleted" msprop:Generator_ColumnVarNameInTable="columnIsDeleted" msprop:Generator_ColumnPropNameInRow="IsDeleted" msprop:Generator_ColumnPropNameInTable="IsDeletedColumn" msprop:Generator_UserColumnName="IsDeleted" type="xs:boolean" />
              <xs:element name="IsActived" msprop:Generator_ColumnVarNameInTable="columnIsActived" msprop:Generator_ColumnPropNameInRow="IsActived" msprop:Generator_ColumnPropNameInTable="IsActivedColumn" msprop:Generator_UserColumnName="IsActived" type="xs:boolean" />
              <xs:element name="Tstamp" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTstamp" msprop:Generator_ColumnPropNameInRow="Tstamp" msprop:Generator_ColumnPropNameInTable="TstampColumn" msprop:Generator_UserColumnName="Tstamp" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="LotCode" msprop:Generator_ColumnVarNameInTable="columnLotCode" msprop:Generator_ColumnPropNameInRow="LotCode" msprop:Generator_ColumnPropNameInTable="LotCodeColumn" msprop:Generator_UserColumnName="LotCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>